windowinteractstate()

Description:

Check the state of user interaction with windows

Syntax:

Required syntax:

 

interaction = windowinteractstate( )

 

Parameters:

Required parameters

Discription

None -

Returns:

0   : No interaction, no windows touched
1   : A window is moved
>1 and <10 : A window is resized
10 : a closebutton in a window has been clicked
11 : a depthbutton in a window has been clicked

Example: